import os

import yaml


class BubbleSort_Yaml:
    @classmethod
    def __call__(cls):
        file_path = os.path.join(os.path.dirname(__file__), "BubbleSort.yaml")
        with open(file_path, "rb") as f:
            data = yaml.safe_load(f)
            # print(data)
            return data or {}


if __name__ == "__main__":
    debug = BubbleSort_Yaml()
    debug()
